using UnityEngine;

public class LobbyPlayerButton : MonoBehaviour
{
	private float startPresTime;

	private void OnPress(bool pressed)
	{
		if (pressed)
		{
			startPresTime = Time.unscaledTime;
			return;
		}
		float num = Time.unscaledTime - startPresTime;
		if (num < 0.2f)
		{
			BCWDebug.Log("Tap detected");
			controllerMenu.thisScript.ShowProfile();
		}
	}
}
